/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tms.entity;

import com.jeeplus.modules.infor.entity.Goods;
import com.jeeplus.modules.infor.entity.TakeAddress;
import com.jeeplus.modules.tms.entity.Planning;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 物料信息Entity
 * @author 李超辉
 * @version 2017-12-11
 */
public class Informations extends DataEntity<Informations> {
	
	private static final long serialVersionUID = 1L;
	private int idx;
	private Planning planning;		// 委托单 父类
	private String number;		// 提货单号
	private Goods goods;		// 物料名称
	private String coding;		// 物料编码
	private String specification;		// 物料规格
	private String type;		// 物料类型
	private String packing;		// 包装单位
	private String gross;		// 计划量
	private String weight;		// 毛重(吨)
	private String volume;		// 体积(M3)
	private TakeAddress depot;		// 提货仓库

	public int getIdx() {
		return idx;
	}

	public void setIdx(int idx) {
		this.idx = idx;
	}

	public Informations() {
		super();
	}

	public Informations(String id){
		super(id);
	}

	public Informations(Planning planning){
		this.planning = planning;
	}

	public Planning getPlanning() {
		return planning;
	}

	public void setPlanning(Planning planning) {
		this.planning = planning;
	}
	
	@ExcelField(title="提货单号", align=2, sort=7)
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	@ExcelField(title="物料名称", align=2, sort=8)
	public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public String getPacking() {
		return packing;
	}

	public void setPacking(String packing) {
		this.packing = packing;
	}

	@ExcelField(title="物料编码", align=2, sort=9)
	public String getCoding() {
		return coding;
	}

	public void setCoding(String coding) {
		this.coding = coding;
	}
	
	@ExcelField(title="物料规格", align=2, sort=10)
	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}
	
	@ExcelField(title="物料类型", align=2, sort=11)
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@ExcelField(title="计划量", align=2, sort=12)
	public String getGross() {
		return gross;
	}

	public void setGross(String gross) {
		this.gross = gross;
	}
	
	@ExcelField(title="毛重(吨)", align=2, sort=13)
	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}
	
	@ExcelField(title="体积(M3)", align=2, sort=14)
	public String getVolume() {
		return volume;
	}

	public void setVolume(String volume) {
		this.volume = volume;
	}
	
	@ExcelField(title="提货仓库", align=2, sort=15)
	public TakeAddress getDepot() {
		return depot;
	}

	public void setDepot(TakeAddress depot) {
		this.depot = depot;
	}
	
}